.class Les/zt$a$a;
.super Ljava/lang/Object;
.source "LanScan.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/zt$a;->b(Lcom/estrongs/android/pop/zeroconf/f;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/zeroconf/f;

.field final synthetic b:Les/zt$a;


# direct methods
.method constructor <init>(Les/zt$a;Lcom/estrongs/android/pop/zeroconf/f;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/zt$a$a;->b:Les/zt$a;

    iput-object p2, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .line 1
    iget-object v0, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/zeroconf/f;->c()Z

    move-result v0

    if-eqz v0, :cond_7

    .line 2
    iget-object v0, p0, Les/zt$a$a;->b:Les/zt$a;

    iget-object v0, v0, Les/zt$a;->a:Les/zt;

    invoke-static {v0}, Les/zt;->a(Les/zt;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "+++++"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget-object v2, v2, Lcom/estrongs/android/pop/zeroconf/f;->k:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v3, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget v3, v3, Lcom/estrongs/android/pop/zeroconf/f;->d:I

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget-object v2, v2, Lcom/estrongs/android/pop/zeroconf/f;->a:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 4
    :cond_0
    iget-object v0, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget-object v1, v0, Lcom/estrongs/android/pop/zeroconf/f;->f:Ljava/net/Inet4Address;

    if-eqz v1, :cond_7

    iget-object v1, v0, Lcom/estrongs/android/pop/zeroconf/f;->a:Ljava/lang/String;

    if-eqz v1, :cond_7

    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 5
    iget-object v0, v0, Lcom/estrongs/android/pop/zeroconf/f;->c:Ljava/lang/String;

    sget-object v3, Lcom/estrongs/android/pop/zeroconf/h;->s:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v3, 0x1

    if-eqz v0, :cond_1

    .line 6
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "webdav://"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget-object v1, v1, Lcom/estrongs/android/pop/zeroconf/f;->f:Ljava/net/Inet4Address;

    invoke-virtual {v1}, Ljava/net/Inet4Address;->getHostAddress()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 7
    iget-object v0, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget v0, v0, Lcom/estrongs/android/pop/zeroconf/f;->d:I

    const/16 v4, 0x50

    if-eq v0, v4, :cond_3

    :goto_0
    const/4 v2, 0x1

    goto :goto_1

    .line 8
    :cond_1
    iget-object v0, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget-object v0, v0, Lcom/estrongs/android/pop/zeroconf/f;->c:Ljava/lang/String;

    sget-object v4, Lcom/estrongs/android/pop/zeroconf/h;->t:Ljava/lang/String;

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 9
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "ftp://"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget-object v1, v1, Lcom/estrongs/android/pop/zeroconf/f;->f:Ljava/net/Inet4Address;

    invoke-virtual {v1}, Ljava/net/Inet4Address;->getHostAddress()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 10
    iget-object v0, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget v0, v0, Lcom/estrongs/android/pop/zeroconf/f;->d:I

    const/16 v4, 0x15

    if-eq v0, v4, :cond_3

    goto :goto_0

    .line 11
    :cond_2
    iget-object v0, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget-object v0, v0, Lcom/estrongs/android/pop/zeroconf/f;->c:Ljava/lang/String;

    sget-object v4, Lcom/estrongs/android/pop/zeroconf/h;->r:Ljava/lang/String;

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 12
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "smb://"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget-object v1, v1, Lcom/estrongs/android/pop/zeroconf/f;->f:Ljava/net/Inet4Address;

    invoke-virtual {v1}, Ljava/net/Inet4Address;->getHostAddress()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 13
    iget-object v0, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget v0, v0, Lcom/estrongs/android/pop/zeroconf/f;->d:I

    const/16 v4, 0x1bd

    if-eq v0, v4, :cond_3

    goto :goto_0

    :cond_3
    :goto_1
    if-eqz v1, :cond_6

    if-eqz v2, :cond_4

    .line 14
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, ":"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget v1, v1, Lcom/estrongs/android/pop/zeroconf/f;->d:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 15
    :cond_4
    iget-object v0, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/zeroconf/f;->a()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_5

    .line 16
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto :goto_2

    .line 17
    :cond_5
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    :cond_6
    :goto_2
    if-eqz v1, :cond_7

    .line 18
    iget-object v0, p0, Les/zt$a$a;->b:Les/zt$a;

    iget-object v0, v0, Les/zt$a;->a:Les/zt;

    iget-object v2, p0, Les/zt$a$a;->a:Lcom/estrongs/android/pop/zeroconf/f;

    iget-object v2, v2, Lcom/estrongs/android/pop/zeroconf/f;->a:Ljava/lang/String;

    invoke-static {v0, v1, v2, v3}, Les/zt;->a(Les/zt;Ljava/lang/String;Ljava/lang/String;Z)V

    :cond_7
    return-void
.end method
